﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Portal.Core;

namespace Portal.Web.Utility
{
    public class WebSyncServiceUtility
    {
        public static SyncWs.SyncWs CreateSyncWs(string SiteId)
        {
            SiteParam OSiteParam=WebEnvironments.CreateSiteParam(SiteId);
            SyncWs.SyncWs OSyncWs = new SyncWs.SyncWs();
            OSyncWs.Url = WebConfig.GetConfigFromXml(OSiteParam, "SyncWebUrl");
            return OSyncWs;
        }
    }
}
